<%@ page import="com.bafa.objects.season.Season" %>
<%@ page import="com.bafa.objects.season.Division" %>
<%@ page import="com.bafa.objects.team.Team" %>
<%@ page import="com.bafa.objects.team.TeamSeasonStats" %>
<%@ page import="com.bafa.objects.team.TeamStats" %>
<%@ page import="com.bafa.objects.player.*" %>
<%@ page import="com.bafa.objects.*" %>
<%@ page import="com.bafa.middle.*" %>
<%@ page import="com.bafa.front.presentationbeans.*" %>
<%@ page import="java.util.*" %>
<% MatchBean match = (MatchBean)request.getAttribute("MATCH");   %>
<% User user = (User)session.getAttribute("LOGGEDON"); %>
<% TeamBean team = (TeamBean)session.getAttribute("LOGGEDONTEAM"); %>
<%SiteBean siteBean = (SiteBean)session.getAttribute("SITEBEAN");%>
<style type="text/css">
<!--
#Main {
	position:absolute;
	width:701px;
	height:551px;
	z-index:1;
}

-->
</style>
<link href="styles_5.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="wysiwyg.js"></script>
<script  src="script/niftycube.js" type="text/javascript" ></script>
	<script>
	NiftyLoad=function(){
	     

Nifty("ul#teamstandings h3","top");
Nifty("ul#teamstandings div","bottom same-height");
Nifty("ul#scorers h3","top");
Nifty("ul#scorers div","bottom same-height");
Nifty("ul#alltimescorers h3","top");
Nifty("ul#alltimescorers div","bottom same-height");

Nifty("ul#report h3","top");
Nifty("ul#report div","bottom same-height");
}
</script>
<style type="text/css">
	
	
	
	ul#teamstandings,ul#teamstandings li{margin:0;padding:0;list-style:none}
	ul#teamstandings li{float:left;width:250px;margin:0 10px 10px 0}
	ul#teamstandings h3{font: bold  Verdana,sans-serif; text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#teamstandings p{margin:0;padding:5px 8px 15px}
	ul#teamstandings div{background:#FFFFFF}
	li#teamstandings div{border:2px solid #990000}
	
	ul#alltimescorers,ul#alltimescorers li{margin:0;padding:0;list-style:none}
	ul#alltimescorers li{float:left;width:180px;margin:0 10px 10px 0}
	ul#alltimescorers h3{font: bold  Verdana,sans-serif; text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#alltimescorers p{margin:0;padding:5px 8px 15px}
	ul#alltimescorers div{background:#FFFFFF}
	li#alltimescorers div{border:2px solid #990000}
	
	ul#report,ul#report li{margin:0;padding:0;list-style:none}
	ul#report li{float:left;width:455px;margin:0 10px 10px 0}
	ul#report h3{font: bold  Verdana,sans-serif; text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#report p{margin:0;padding:5px 8px 15px}
	ul#report div{background:#FFFFFF}
	li#report div{border:2px solid #D2D2D2}
	
	
</style>





<script language="javascript">



</script>



<link href="stats.css" rel="stylesheet" type="text/css">







<div >
<form method="post" name="resultform" action="addmatchreport.bafa">

<input type="hidden" name="teamAId" value="<%=match.getTeamA()%>"/>
<input type="hidden" name="teamBId" value="<%=match.getTeamB()%>"/>
<input type="hidden" name="matchId" value="<%=match.getID()%>"/>
<input type="hidden" name="userId" value="<%=user.getUserId()%>"/>
<input type="hidden" name="divisionId" value="<%=match.getDivision()%>"/>
<input type="hidden" name="seasonId" value="<%=match.getSeasonId()%>"/>
   
   <ul id="report"><li id="report"><h3 class="avlh">Score and Match Report (optional) </h3>
   
   <div class="sad">
  <br/>
  
  <b><%=match.getTeamAName()%></b> <%=match.getGoalsA()%> - <%=match.getGoalsB()%> <b><%=match.getTeamBName()%></b>
      <br/>
      <br/>
  
     <input type="text" name="author" onFocus="javascript:this.value=''" value="Author"/> <input type="text" onFocus="javascript:this.value=''" name="title" value="Headline" size="45"/>
    <br/>
    Report by: <%=match.getTeamAName()%> <input type="radio" name="teamId" value="<%=match.getTeamA()%>"/> or <%=match.getTeamBName()%> <input type="radio" name="teamId" value="<%=match.getTeamB()%>"/>
      <textarea id="textarea1" name="report" style="height: 400px; width: 450px;"></textarea>
  	    
      
      
      <script language="javascript1.2">
        generate_wysiwyg('textarea1');
      </script>
      
  <br/><br/>
 
  <br/>
  <br/>
  <input class='leftbutton' type='submit' name='submit' value='Submit' />
  <br/>
  <br/>
</div>
  </li>
  </ul>
  </form>
</div>
  

